ALL:
	arm-linux-gnueabihf-gcc -c led.c -o led.o -marm
	arm-linux-gnueabihf-ld led.o -o led.elf -Ttext=0xc0008000 -eled_test
	arm-linux-gnueabihf-objcopy -O binary led.elf led.bin

objdump:
	arm-linux-gnueabihf-objdump -D led.elf > led.s
clean:
	rm *.o *.elf *.bin *.s